<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
  <title>楼块图层</title>
  <style>
    html,
    body,
    #container {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
    }
    .BMap_cpyCtrl
    {
      display: none;
    }
    .anchorBL {
      display: none;
    }
    .amap-logo img{
      display: none;
    }
    .amap-copyright {
      opacity:0;
    }
  </style>
</head>
<body>
<div id="container"></div>
<script src="//webapi.amap.com/maps?v=2.0&key=53b4e246765e8898dc8ecfa7f7a543e5"></script>
<script>
  var map = new AMap.Map('container', {
    center: [113.53591,34.817077],
    viewMode: '3D',
    pitch: 60,
    rotation: -35,
    // 隐藏默认楼块
    features: ['bg', 'road', 'point'],
    mapStyle: 'amap://styles/light',
    layers: [
      // 高德默认标准图层
      new AMap.TileLayer.Satellite(),
      // 楼块图层
      new AMap.Buildings({
        zooms: [16, 18],
        zIndex: 10,
        heightFactor: 2 //2倍于默认高度，3D下有效
      })
    ],
    zoom: 16.8,
  });
</script>
</body>
</html>